package com.web.logindemo.service.impl;

import com.web.logindemo.domain.SysLogininfor;
import com.web.logindemo.mapper.SysLogininforMapper;
import com.web.logindemo.service.ISysLogininforService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 系统访问日志情况信息 服务层处理
 */
@Service
public class SysLogininforServiceImpl implements ISysLogininforService {

    @Autowired
    private SysLogininforMapper logininforMaper;

    @Override
    public void insertLogininfor(SysLogininfor logininfor){
        logininforMaper.insertLogininfor(logininfor);
    }

    @Override
    public List<SysLogininfor> selectLogininforList(SysLogininfor logininfor) {
        List<SysLogininfor> list = logininforMaper.selectLogininforList(logininfor);
        return list;
    }
}
